<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页</title>

  <!-- weui -->
  <!-- <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.3.0/weui.min.css" /> -->
</head>

<body class="df fdc">
  <!-- 主要内容 -->
  <main class="flex overflow">
    <!-- 轮播图 -->
    <div class="swiper">
      <div class="swiper-wrapper">
        <div class="swiper-slide bg01"></div>
        <div class="swiper-slide bg02"></div>
        <div class="swiper-slide bg03"></div>
      </div>
      <!-- 如果需要分页器 -->
      <div class="swiper-pagination"></div>
    </div>

    <!-- 主要内容 -->
    <div class="container mt20">
      <!-- 1.今日排名和累积打卡 -->
      <div class="df f12 mb20">
        <div class="items rank ">
          <h2>今日排名</h2>
          <span id="rankTxt"></span>
        </div>
        <div class="items ml20 clock">
          <h2>累积打卡 <span id="clockTxt"></span>天</h2>
          <button id="clockBtn"></button>
        </div>
      </div>
      <!-- 2.运动数据和累积运动徽章 -->
      <div class="df f12 mb20">
        <div class="items flex">
          <h2>运动数据</h2>
        </div>
        <div class="items ml20 flex">
          <h2>累积运动徽章 </h2>
          <span id="badgesTxt"></span>
        </div>
      </div>
      <!-- 3.课程训练 -->
      <div class="df f12 mb20">
        <div class="items flex">
          <h2>课程训练</h2>
        </div>
      </div>
      <!-- 4.户外跑步 -->
      <div class="df f12 mb20">
        <div class="items flex">
          <h2>户外跑步</h2>
        </div>
      </div>


    </div>
  </main>

  <!-- weui -->
  <!-- <script src="https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js" charset="utf-8"></script> -->
</body>

</html>